package cc.fine.svc.main.bean.dto;

import cc.fine.svc.main.bean.po.TblUser;
import cc.fine.svc.main.bean.po.TblUserCount;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * @AUTHOR: wyihe
 * @DATE: 2023/10/30
 */
@Data
public class UserInfoDto implements Serializable {

    @ApiModelProperty(value = "UUID")
    @TableId(value = "id", type = IdType.ASSIGN_UUID)
    private String id;

    @ApiModelProperty(value = "用户标识")
    private String fineId;

    @ApiModelProperty(value = "用户名")
    private String username;

    @ApiModelProperty(value = "手机号，用来登录")
    private String phone;

    @ApiModelProperty(value = "密码")
    private String password;

    @ApiModelProperty(value = "头像url")
    private String avatar;

    @ApiModelProperty(value = "用户状态 0默认 -1停用，大于0表示被举报的次数")
    private Integer state;

    @ApiModelProperty(value = "自我介绍")
    private String selfIntroduce;

    @ApiModelProperty(value = "省份名")
    private String localMom;

    @ApiModelProperty("用户级别，默认0普通用户，1管理员")
    private Integer level;

    // ------------------------- User Count

    @ApiModelProperty(value = "收藏数量")
    private int collects;

    @ApiModelProperty(value = "喜欢数量")
    private int favors;

    @ApiModelProperty(value = "历史记录数量")
    private int histories;

    @ApiModelProperty(value = "发布的视频数量")
    private int publishs;

    @ApiModelProperty(value = "分享数量")
    private int shares;

    @ApiModelProperty(value = "粉丝数")
    private int fans;

    @ApiModelProperty(value = "自己的关注人数")
    private int selfAttention;
}
